package com.gakj.truck.third.api.mapper;

import com.gakj.truck.third.core.annotation.MyBatisMapper;
import com.gakj.truck.third.core.domain.area.ShtDistrict;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by gc on 2016/5/24.
 */
@MyBatisMapper
public interface ShtDistrictMapper {

    ShtDistrict getDistrictByname(@Param(value = "name") String name,@Param(value = "cid") Integer cid,@Param(value = "pid") Integer pid);

    List<ShtDistrict> getAll();
}
